package com.zykj.spb.study.controller;

import com.zykj.bootstarter.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhoulj(周利军) [1217102780@qq.com]
 * @Title: StartController
 * @Project: ${MODEL_NAME}
 * @Module ID:   <(模块)类编号，可以引用系统设计中的类编号>
 * @Comments: <对此类的描述，可以引用系统设计中的描述>
 * @JDK version used:      <JDK1.8> 27
 * @since 2018/12/20-14:27
 */
@RestController
@RequestMapping("starter")
public class StartController {
    @Autowired
    private DemoService demoService;

    @RequestMapping("test")
    public String test() {
        return demoService.getMsg();
    }
}
